package com.olank.portal.service.impl;

import java.util.HashMap;
import java.util.Map;

import com.olank.component.page.Page;
import com.olank.framework.service.impl.ServiceImpl;
import com.olank.portal.service.IInformationService;
import com.olank.utility.lang.StringUtil;

public class InformationServiceImpl extends ServiceImpl implements
		IInformationService {

	@Override
	public Page selectInformations(String part, int offset, int pageSize) {
		Map<String, Object> params = new HashMap<String, Object>(1);
		if (!StringUtil.isEmpty(part)) {
			params.put("idPart", part);
		}
		return super.select4Page(
				"com.olank.portal.information.selectInformations", params,
				offset, pageSize);
	}

}
